API reference
- Overview
- API parameters
- Insights API
- Recommend API
- Search API
- Search operations
- Records operations
- Indices operations
- Synonyms operations
- API keys operations
- Rules operations
- Dictionaries operations
- Clusters operations
- Vaults operations
- Advanced operations
Indices operations
Retrieve index settings
Retrieves an object with non-null index settings.
GET
/
1
/
indexes
/
{indexName}
/
settings
Copy
Ask AI
// Initialize the client
var client = new SearchClient(new SearchConfig("ALGOLIA_APPLICATION_ID", "ALGOLIA_API_KEY"));
// Call the API
var response = await client.GetSettingsAsync("<YOUR_INDEX_NAME>");
// >LOG
Copy
Ask AI
{
"attributesForFaceting": [
"author",
"filterOnly(isbn)",
"searchable(edition)",
"afterDistinct(category)",
"afterDistinct(searchable(publisher))"
],
"replicas": [
"virtual(prod_products_price_asc)",
"dev_products_replica"
],
"paginationLimitedTo": 100,
"unretrievableAttributes": [
"total_sales"
],
"disableTypoToleranceOnWords": [
"wheel",
"1X2BCD"
],
"attributesToTransliterate": [
"name",
"description"
],
"camelCaseAttributes": [
"description"
],
"decompoundedAttributes": {
"de": [
"name"
]
},
"indexLanguages": [
"ja"
],
"disablePrefixOnAttributes": [
"sku"
],
"allowCompressionOfIntegerArray": false,
"numericAttributesForFiltering": [
"equalOnly(quantity)",
"popularity"
],
"separatorsToIndex": "+#",
"searchableAttributes": [
"title,alternative_title",
"author",
"unordered(text)",
"emails.personal"
],
"userData": {
"settingID": "f2a7b51e3503acc6a39b3784ffb84300",
"pluginVersion": "1.6.0"
},
"customNormalization": {
"default": {
"ä": "ae",
"ü": "ue"
}
},
"attributeForDistinct": "url",
"maxFacetHits": 10,
"attributesToRetrieve": [
"author",
"title",
"content"
],
"ranking": [
"typo",
"geo",
"words",
"filters",
"proximity",
"attribute",
"exact",
"custom"
],
"customRanking": [
"desc(popularity)",
"asc(price)"
],
"relevancyStrictness": 90,
"attributesToHighlight": [
"author",
"title",
"conten",
"content"
],
"attributesToSnippet": [
"content:80",
"description"
],
"highlightPreTag": "<em>",
"highlightPostTag": "</em>",
"snippetEllipsisText": "…",
"restrictHighlightAndSnippetArrays": false,
"hitsPerPage": 20,
"minWordSizefor1Typo": 4,
"minWordSizefor2Typos": 8,
"typoTolerance": true,
"allowTyposOnNumericTokens": true,
"disableTypoToleranceOnAttributes": [
"sku"
],
"ignorePlurals": [
"ca",
"es"
],
"removeStopWords": [
"ca",
"es"
],
"keepDiacriticsOnCharacters": "øé",
"queryLanguages": [
"es"
],
"decompoundQuery": true,
"enableRules": true,
"enablePersonalization": false,
"queryType": "prefixLast",
"removeWordsIfNoResults": "firstWords",
"mode": "keywordSearch",
"semanticSearch": {
"eventSources": [
"<string>"
]
},
"advancedSyntax": false,
"optionalWords": "<string>",
"disableExactOnAttributes": [
"description"
],
"exactOnSingleWordQuery": "attribute",
"alternativesAsExact": [
"ignorePlurals",
"singleWordSynonym"
],
"advancedSyntaxFeatures": [
"exactPhrase",
"excludeWords"
],
"distinct": 1,
"replaceSynonymsInHighlight": false,
"minProximity": 1,
"responseFields": [
"*"
],
"maxValuesPerFacet": 100,
"sortFacetValuesBy": "count",
"attributeCriteriaComputedByMinProximity": false,
"renderingContent": {
"facetOrdering": {
"facets": {
"order": [
"<string>"
]
},
"values": {}
},
"redirect": {
"url": "<string>"
},
"widgets": {
"banners": [
{
"image": {
"urls": [
{
"url": "<string>"
}
],
"title": "<string>"
},
"link": {
"url": "<string>"
}
}
]
}
},
"enableReRanking": true,
"reRankingApplyFilter": [
"<any>"
],
"primary": "<string>"
}
Authorizations
Your Algolia application ID.
Your Algolia API key with the necessary permissions to make the request. Permissions are controlled through access control lists (ACL) and access restrictions. The required ACL to make a request is listed in each endpoint's reference.
Path Parameters
Name of the index on which to perform the operation.
Example:
"ALGOLIA_INDEX_NAME"
Response
200
application/json
OK
Index settings.
Was this page helpful?
Copy
Ask AI
// Initialize the client
var client = new SearchClient(new SearchConfig("ALGOLIA_APPLICATION_ID", "ALGOLIA_API_KEY"));
// Call the API
var response = await client.GetSettingsAsync("<YOUR_INDEX_NAME>");
// >LOG
Copy
Ask AI
{
"attributesForFaceting": [
"author",
"filterOnly(isbn)",
"searchable(edition)",
"afterDistinct(category)",
"afterDistinct(searchable(publisher))"
],
"replicas": [
"virtual(prod_products_price_asc)",
"dev_products_replica"
],
"paginationLimitedTo": 100,
"unretrievableAttributes": [
"total_sales"
],
"disableTypoToleranceOnWords": [
"wheel",
"1X2BCD"
],
"attributesToTransliterate": [
"name",
"description"
],
"camelCaseAttributes": [
"description"
],
"decompoundedAttributes": {
"de": [
"name"
]
},
"indexLanguages": [
"ja"
],
"disablePrefixOnAttributes": [
"sku"
],
"allowCompressionOfIntegerArray": false,
"numericAttributesForFiltering": [
"equalOnly(quantity)",
"popularity"
],
"separatorsToIndex": "+#",
"searchableAttributes": [
"title,alternative_title",
"author",
"unordered(text)",
"emails.personal"
],
"userData": {
"settingID": "f2a7b51e3503acc6a39b3784ffb84300",
"pluginVersion": "1.6.0"
},
"customNormalization": {
"default": {
"ä": "ae",
"ü": "ue"
}
},
"attributeForDistinct": "url",
"maxFacetHits": 10,
"attributesToRetrieve": [
"author",
"title",
"content"
],
"ranking": [
"typo",
"geo",
"words",
"filters",
"proximity",
"attribute",
"exact",
"custom"
],
"customRanking": [
"desc(popularity)",
"asc(price)"
],
"relevancyStrictness": 90,
"attributesToHighlight": [
"author",
"title",
"conten",
"content"
],
"attributesToSnippet": [
"content:80",
"description"
],
"highlightPreTag": "<em>",
"highlightPostTag": "</em>",
"snippetEllipsisText": "…",
"restrictHighlightAndSnippetArrays": false,
"hitsPerPage": 20,
"minWordSizefor1Typo": 4,
"minWordSizefor2Typos": 8,
"typoTolerance": true,
"allowTyposOnNumericTokens": true,
"disableTypoToleranceOnAttributes": [
"sku"
],
"ignorePlurals": [
"ca",
"es"
],
"removeStopWords": [
"ca",
"es"
],
"keepDiacriticsOnCharacters": "øé",
"queryLanguages": [
"es"
],
"decompoundQuery": true,
"enableRules": true,
"enablePersonalization": false,
"queryType": "prefixLast",
"removeWordsIfNoResults": "firstWords",
"mode": "keywordSearch",
"semanticSearch": {
"eventSources": [
"<string>"
]
},
"advancedSyntax": false,
"optionalWords": "<string>",
"disableExactOnAttributes": [
"description"
],
"exactOnSingleWordQuery": "attribute",
"alternativesAsExact": [
"ignorePlurals",
"singleWordSynonym"
],
"advancedSyntaxFeatures": [
"exactPhrase",
"excludeWords"
],
"distinct": 1,
"replaceSynonymsInHighlight": false,
"minProximity": 1,
"responseFields": [
"*"
],
"maxValuesPerFacet": 100,
"sortFacetValuesBy": "count",
"attributeCriteriaComputedByMinProximity": false,
"renderingContent": {
"facetOrdering": {
"facets": {
"order": [
"<string>"
]
},
"values": {}
},
"redirect": {
"url": "<string>"
},
"widgets": {
"banners": [
{
"image": {
"urls": [
{
"url": "<string>"
}
],
"title": "<string>"
},
"link": {
"url": "<string>"
}
}
]
}
},
"enableReRanking": true,
"reRankingApplyFilter": [
"<any>"
],
"primary": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.